Skip to content

Instantly share code, notes, and snippets.

@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active July 12, 2026 03:47
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@ldanielgouveia
ldanielgouveia / gist:c483e78013cead690df43065f7b08aac
Last active July 12, 2026 03:47
Simplified colored file tree
/*
* Colored Index Sidebar for Obsidian
* A self-contained, shareable version of Leandro's left file explorer UI.
*
* Install: save in VAULT/.obsidian/snippets/, then enable it under
* Settings > Appearance > CSS snippets.
*
* Top-level folders receive automatic rainbow colors based on the first
* character of their name. Colors remain stable while scrolling.
*/

During the past days, this great article by Sam Pruden has been making the rounds around the gamedev community. While the article provides an in-depth analysis, its a bit easy to miss the point and exert the wrong conclusions from it. As such, and in many cases, users unfamiliar with Godot internals have used it points such as following:

  • Godot C# support is inefficient
  • Godot API and binding system is designed around GDScript
  • Godot is not production ready

In this brief article, I will shed a bit more light about how the Godot binding system works and some detail on the Godot

@martinrusev
martinrusev / piping.go
Created October 1, 2015 08:09 — forked from kylelemons/piping.go
piping exec.Cmd in golang (example sorts all regular files under a directory by their extension)
package main
import (
"bytes"
"exec"
"log"
"os"
)
// Pipeline strings together the given exec.Cmd commands in a similar fashion

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@stevenworld75
stevenworld75 / codex-post-update-browser-computer-use-one-go-fix.md
Created June 20, 2026 21:20
Codex Windows Chrome Extension / Computer Use not connected field repair

Codex Windows Chrome Extension / Computer Use "Not Connected" Fix

Tested on Windows on 2026-06-20 after a Codex Desktop update.

This is not an official OpenAI fix. It is a field repair for a specific post-update failure where the bundled plugins are installed, but Codex reports that the browser extension is not connected and Computer Use cannot connect.

Symptoms This Fixed

  • Chrome or Edge has the Codex extension installed, but Codex says the browser extension is not connected.
  • browser, chrome, and computer-use plugins exist in the local bundled plugin cache.
@braunglasrakete
braunglasrakete / Instagram Like Activity Deleter
Last active July 12, 2026 03:12 — forked from therealsarahw/instagram-like-activity-deleter.js
Instagram Like Activity Deleter: Automate the deletion of all your Instagram Likes from the 'Your Activity' section. Perfect for quick digital clean-up. For comments, see my other gist.
/**
* Instagram Like Removal Script – Enhanced Timing (2025)
* based on the comment activity deleter by sbolel, fixed and modified to work for likes as well
* important: UI language must be set to English for the script to work
*
* WARNING: This function directly manipulates the DOM and depends on the current HTML
* structure of Instagram's website to work. If Instagram implements changes to the
* activity page layout, structure, or functionality, this script may break or cause
* unexpected behavior. Use at your own risk and always review code before running it.
*
@cereblab
cereblab / grok-build-cli-wire-analysis.md
Created July 10, 2026 02:13
What xAI Grok Build CLI actually sends to xAI - a wire-level analysis (grok 0.2.93)

What xAI's Grok Build CLI Actually Sends to xAI: A Wire-Level Analysis

A measured, reproducible teardown. Findings are backed by captured artifacts (endpoint, HTTP method, status code, byte size, host) and repro commands; where an observation was seen live but not retained as a file, §7 says so explicitly. Section 8 is an evidence appendix with SHA-256s and a "what we did not prove" list. All captures are of my own traffic on my own machine, using a throwaway repository containing fake "canary" secrets — no real credentials were exposed.


0. Summary

xAI's official Grok Build coding CLI (grok), on a normal consumer login, does three things worth documenting precisely: